export default {
  state: { 
    taskItemString: '', 
    taskItemInfo:{}
  },
  getters: {
    taskItemString: state => state.taskItemString, 
    taskItemInfo: state => state.taskItemInfo,
  },
  mutations: {
    TASK_ITEM_STRING (state, module) {
      state.taskItemString = module
    }, 
    SET_TASKITEMINFO(state, taskItemInfo){
      state.taskItemInfo = taskItemInfo;
    }
  },
  actions: {
    setTaskItemString: ({commit}, taskItemString) => {
      return commit('TASK_ITEM_STRING', taskItemString)
    }, 
  }
}
